package com.groupbuying.settleproducer.constants;

import com.groupbuying.settleproducer.utils.apiresult.ApiResultCode;

/**
 * 退款返回枚举
 * 
 * @author cuich
 * @email cuichanghao@linku.com.cn
 * @date 2019-06-04 08:10:27
 */

public enum RefundReturnEnumConstants {
    SUCCESS("success",0),ERROR("系统错误",1),
    INVALID_PARAMETER("参数无效",2),
    SELLER_BALANCE_NOT_ENOUGH("卖家余额不足",3),
    REFUND_AMT_NOT_EQUAL_TOTAL("退款金额超限",4),
    REASON_TRADE_BEEN_FREEZEN("请求退款的交易被冻结",5),
    TRADE_NOT_EXIST("交易不存在",6),
    TRADE_HAS_FINISHED("交易已完结",7),
    TRADE_STATUS_ERROR("交易状态非法",8),
    DISCORDANT_REPEAT_REQUEST("不一致的请求",9),
    REASON_TRADE_REFUND_FEE_ERR("退款金额无效",10),
    PAYINFO_ERROR("get payInfo fail",11);

    private String MSG;
    private int CODE;

    RefundReturnEnumConstants(String MSG,int CODE){
        this.MSG = MSG;
        this.CODE = CODE;
    }
    public String getMSG() {
        return MSG;
    }

    public int getCODE() {
        return CODE;
    }

    public void setMSG(String MSG) {
        this.MSG = MSG;
    }

    public void setCODE(int CODE) {
        this.CODE = CODE;
    }
                                    
}
